from PyQt6.QtWidgets import QWidget, QVBoxLayout, QLabel
from PyQt6.QtCore import Qt
from PyQt6.QtGui import QFont

class ContractMgmtPage(QWidget):
    def __init__(self):
        super().__init__()
        self.init_ui()
        
    def init_ui(self):
        layout = QVBoxLayout(self)
        
        welcome_label = QLabel("合同管理")
        welcome_label.setFont(QFont("Microsoft YaHei", 24, QFont.Weight.Bold))
        welcome_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
        
        desc_label = QLabel("在这里您可以管理所有项目相关的合同")
        desc_label.setFont(QFont("Microsoft YaHei", 14))
        desc_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
        
        layout.addStretch()
        layout.addWidget(welcome_label)
        layout.addWidget(desc_label)
        layout.addStretch()
